package pl.mchaniewski.ryneczek.services;

import java.util.Date;
import java.util.List;

import pl.mchaniewski.ryneczek.pojo.Quotation;

public interface QuotationService {

    public void remove(Quotation quotation);

    public Quotation save(Quotation entity);

    public List<Quotation> findLatest(boolean wasInLastUpdate);

    public Quotation findLatest(Integer companyid, boolean wasInLastUpdate);

    public Quotation findLatestByDate(Integer companyid, Date date);

    public List<Quotation> findByDateAndCompanyId(Integer companyid, Date date);

    public void cleanArchiveRecords();

}
